﻿using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using System.Windows.Interactivity;
using ESRI.ArcGIS.Client;
using ESRI.ArcGIS.Client.Symbols;

namespace Eaglight.Behaviors
{
    public abstract class DrawBehavior: Behavior<Map>
    {
        public DependencyProperty HotSymbolProperty = DependencyProperty.Register("HotSymbol", typeof(Symbol), typeof(DrawBehavior), null);
        public DependencyProperty SymbolProperty = DependencyProperty.Register("Symbol", typeof(Symbol), typeof(DrawBehavior), null);
        public DependencyProperty GraphicsLayerProperty = DependencyProperty.Register("GraphicsLayer", typeof(GraphicsLayer), typeof(DrawBehavior), null);


        public Symbol HotSymbol
        {
            get { return (Symbol)GetValue(HotSymbolProperty); }
            set { SetValue(HotSymbolProperty, value); }
        }

        public Symbol Symbol
        {
            get { return (Symbol)GetValue(SymbolProperty); }
            set { SetValue(SymbolProperty, value); }
        }

        public GraphicsLayer GraphicsLayer
        {
            get { return (GraphicsLayer)GetValue(GraphicsLayerProperty); }
            set { SetValue(GraphicsLayerProperty, value); }
        }

    }
}
